import request from '@/utils/axios';
import appName from "@/api/appName";

// 清单查询
export function queryList(params) {
    return request({
      url: appName.NB+'/maintain/collect/queryList',
      method: 'post',
      data: params
    })
}

// 新增
export function addData(params) {
    return request({
      url: appName.NB+'/maintain/collect/addData',
      method: 'post',
      data: params
    })
}

// 删除
export function deleteData(params) {
    return request({
      url: appName.NB+'/maintain/collect/deleteData',
      method: 'post',
      data: params
    })
}
export function getWnotnumCountByWnotnum(params) {
    return request({
      url: appName.NB+'/maintain/collect/getWnotnumCountByWnotnum',
      method: 'post',
      data: params
    })
}
export function getApplnumByChdrnum(params) {
    return request({
      url: appName.NB+'/maintain/collect/getApplnumByChdrnum',
      method: 'post',
      data: params
    })
}
export function getProcflgByApplnum(params) {
    return request({
      url: appName.NB+'/maintain/collect/getProcflgByApplnum',
      method: 'post',
      data: params
    })
}
